package mybatis.yuandengta.dao;


import mybatis.yuandengta.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    public Employee findById(Integer id);

    public Employee findByIdAndName(@Param("id") Integer id, @Param("name") String name);

    public void addEmp(Employee employee);

    public List<Employee> findByAllEmployee();

    public List<Employee> getEmpsByIds(@Param("ids") Integer[] ids);
}
